const stateColumns = {
  state: [
    {
      title: '所属组长',
      dataIndex: 'leader_name',
      width: '10%'
    },
    {
      title: '顾问姓名',
      dataIndex: 'adviser_name',
      width: '10%'
    },
    {
      title: '业务收款总额',
      dataIndex: 'total_amount',
      width: '20%',
      sorter: (a, b) => a.total_amount - b.total_amount
    },
    {
      title: '代理费',
      dataIndex: 'total_agency_fee',
      width: '20%',
      sorter: (a, b) => a.total_agency_fee - b.total_agency_fee
    },
    {
      title: '领取信息',
      dataIndex: 'total_lx',
      width: '20%',
      sorter: (a, b) => a.total_lx - b.total_lx
    },
    {
      title: '在职状态',
      dataIndex: 'work_status',
      scopedSlots: { customRender: 'work_status' }
    }
  ],
  footer_total: [
    {
      title: '汇总',
      dataIndex: 'total',
      width: '10%',
      scopedSlots: { customRender: 'total' }
    },
    {
      title: 'total_people',
      dataIndex: 'total_people',
      width: '10%',
      scopedSlots: { customRender: 'total_people' }
    },
    {
      title: 'total_amount',
      dataIndex: 'total_amount',
      width: '20%',
      scopedSlots: { customRender: 'total_amount' }
    },
    {
      title: 'total_agency_fee',
      dataIndex: 'total_agency_fee',
      width: '20%',
      scopedSlots: { customRender: 'total_agency_fee' }
    },
    {
      title: 'total_receive',
      dataIndex: 'total_receive',
      width: '20%',
      scopedSlots: { customRender: 'total_receive' }
    },
    {
      title: ''
    }
  ]
}
export default stateColumns
